package cn.zhqr.manage.controller;

import cn.zhqr.common.util.map.MapKit;
import cn.zhqr.core.controller.base.BaseController;
import com.jfinal.core.Path;


/**
 */
@Path("/api/dict")
public class DictController extends BaseController {

    public void station_status(){
        renderSuccessJson(MapKit.mapToList(Station.statusMapping));
    }

    public void device_state(){
        renderSuccessJson(MapKit.mapToList(Device.stateMapping));
    }
    public void device_status(){
        renderSuccessJson(MapKit.mapToList(DeviceConn.statusMapping));
    }

    public void pay_order_status(){
        renderSuccessJson(MapKit.mapToList(PayOrder.statusMapping));
    }

    public void order_status(){
        renderSuccessJson(MapKit.mapToList(UserOrder.statusMapping));
    }

    public void agent_trade_type(){
        renderSuccessJson(MapKit.mapToList(AgentTrade.typeMapping));
    }

    public void user_trade_type(){renderSuccessJson(MapKit.mapToList(UserTrade.typeMapping));}

    public void wash_card_type(){
        renderSuccessJson(MapKit.mapToList(WashCard.typeMapping));
    }

    public void wash_card_status(){
        renderSuccessJson(MapKit.mapToList(WashCard.statusMapping));
    }

    public void coupon_status(){
        renderSuccessJson(MapKit.mapToList(Coupon.statusMapping));
    }

    public void coupon_type(){
        renderSuccessJson(MapKit.mapToList(Coupon.typeMapping));
    }

    public void user_wash_card_status(){
        renderSuccessJson(MapKit.mapToList(UserWashCard.statusMapping));
    }

    public void agent_auth_type(){
        renderSuccessJson(MapKit.mapToList(Agent.authTypeMapping));
    }

    public void agent_type(){
        renderSuccessJson(MapKit.mapToList(Agent.typeMapping));
    }

    public void refund_status(){
        renderSuccessJson(MapKit.mapToList(OrderRefund.refundStatusMapping));
    }
}
